<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
	String path = request.getContextPath();
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="pragma" content="no-cache" />
		<meta http-equiv="cache-control" content="no-cache" />
		<meta http-equiv="expires" content="0" />
		<link rel="stylesheet" type="text/css" href="<%=path%>/css/base.css" />
			<script type="text/javascript" src="<%=path%>/js/jquery.min.js"></script>
			
				<script type="text/javascript">
		
		
		  function save()
		    {
		    
		    
		        var uname = document.getElementById('uname').value;
		        if(uname==null || uname==''){
		           alert('请输入账号');
		           return;
		        }
		        var upwd = document.getElementById('upwd').value;
		        if(upwd==null || upwd==''){
		           alert('请输入密码');
		           return;
		        }
		          
		        document.formAdd.submit();
		    }
		    
		   
		</script>
	</head>

	<body  background='<%=path%>/img/allbg.gif'>
		<form action="<%=path%>/adminEdit.action" name="formAdd"
			method="post">
			<input type="hidden" name="id" value="${admin.id}" size="20" />
			<table width="98%" align="center" border="0" cellpadding="4"
				cellspacing="1" bgcolor="#CBD8AC" style="margin-bottom: 8px">
				<tr bgcolor="#EEF4EA">
					<td colspan="3" background="<%=path%>/img/wbg.gif" class='title'>
						<span>修改</span>
					</td>
				</tr>
				<tr align='center' bgcolor="#FFFFFF">
					<td width="40%" bgcolor="#FFFFFF" align="right">
						帐号：
					</td>
					<td width="60%" bgcolor="#FFFFFF" align="left">
						<input type="text" name="uname"  id="uname"  value="${admin.uname}" size="20" />
					</td>
				</tr>
				<tr align='center' bgcolor="#FFFFFF">
					<td width="50%" bgcolor="#FFFFFF" align="right">
						密码：
					</td>
					<td width="50%" bgcolor="#FFFFFF" align="left">
						<input type="password" name="upwd" id="upwd" value="${admin.upwd}" size="20" />
					</td>
				</tr>
				
				
				 
				 
				<tr align='center' bgcolor="#FFFFFF">
					<td  colspan="2" align="center" bgcolor="#FFFFFF" align="left">
						<input type="submit" value="提交" />
						&nbsp;
						<input type="reset" value="重置" />
						&nbsp;
					</td>
				</tr>
			</table>
		</form>
	</body>
</html>
